home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980424-19980901 / 000380_news@newsmaster….columbia.edu _Tue Aug 18 10:28:51 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  6KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA08161
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 18 Aug 1998 10:28:51 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA22010
  7.     for kermit.misc@watsun; Tue, 18 Aug 1998 10:28:50 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: K95 telnet to dosemu under Linux
  12. Date: 18 Aug 1998 14:28:45 GMT
  13. Organization: Columbia University
  14. Lines: 118
  15. Message-ID: <6rc32t$sap$1@apakabar.cc.columbia.edu>
  16. References: <PHK01Yv1uIJW084yn@eskimo.com> <uDL21Yv1uwRT084yn@eskimo.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:9105
  19.  
  20. In article <uDL21Yv1uwRT084yn@eskimo.com>,
  21. Frank Sergeant <frank.sergeant@pobox.com> wrote:
  22. : In my on-going quest for using Kermit's telnet from DOS or W95
  23. : to run a DOS Clipper application under the DOS emulator (dosemu)
  24. : on Linux, I have been doing some more experimenting.
  25. : Under Kermit95 (1.1.17), if I set the terminal type to linux
  26. : and if on the Linux box I set dosemu to use terminal 'ibm'
  27. : rather than 'latin', I _can_ get proper box drawing characters
  28. : and legible text but only if after starting dosemu I break
  29. : out to Kermit with alt-X and type
  30. :        set term char cp437
  31. : or
  32. :        set term char transparent
  33. : then re-enter telnet by typing c.
  34. : It doesn't work if I 'set term char cp437' prior to starting
  35. : dosemu.  This is very strange, isn't it?  Does anyone have
  36. : any idea what is going on?  
  37.  
  38. More than likely dosemu sends escape sequences changing the
  39. character-set.  SHOW CHARACTER-SET will show you the currently active 
  40. characters sets.  Or it may be that during the initial telnet 
  41. negotiations the terminal type is being negotiated to something other
  42. than "linux".  There are many possibilities.
  43.  
  44. Why don't you use the debugging capabilities of Kermit 95 to 
  45. generate a session log and a debug log so that we can determine 
  46. exactly what is going on.
  47.  
  48. Before connecting to the host
  49.  
  50.   LOG SESSION
  51.   LOG DEBUG
  52.  
  53. when you have disconnected from the host
  54.  
  55.   CLOSE SESSION
  56.   CLOSE DEBUG
  57.  
  58. then zip the "session.log" and "debug.log" files and send them
  59. to kermit-support@columbia.edu so that they may be examined.
  60.  
  61. : It is as if Kermit and Linux
  62. : are in agreement about the protocol and then starting dosemu
  63. : changes that agreement.  (I'll also post this question to the
  64. : dosemu mailing list.)  Any idea how to fix this?  It is rather
  65. : inconvenient to use the above work around.
  66.  
  67. If there is no other way to get it working you can always script 
  68. the operation and assign it to a key for quick access.
  69.  
  70. : There is better news on the DOS Kermit (version 3.15) front.
  71. : I have given up on putting DOS Kermit into 25 row mode.  (Can
  72. : anyone tell me how to do it?)  Instead, I have changed the
  73. : Clipper application to write no more than 24 rows.  This does
  74. : work.  I set DOS Kermit to VT320 or to ANSI-BBS (it doesn't
  75. : seem to make a difference) and set dosemu to 'ibm'.  I get
  76. : legible text and proper box drawing characters.  With SET KEY
  77. : statements I can turn on PgDn, PgUp, Ctrl-PgDn, Ctrl-PgUp.
  78. : The only funny thing here is that Ctrl-PgDn must be pressed
  79. : twice to work (same problem under Kermit95).  
  80.  
  81. Is the character that you are assigning to Ctrl-PgDn an escape
  82. character of some kind for "dosemu"?
  83.  
  84. : I can turn on F1
  85. : with
  86. :      set key \315  \28  ; F1
  87. : but I cannot get any of the other function keys to work.  They
  88. : all seem to need to be set to negative numbers, (that is, Clipper
  89. : compares the character code to the value -1 to see if it is the F2
  90. : key), so I would need to write something like
  91. :      set key \316  \-1  ; F2
  92. : but that doesn't work.  The function keys do work in Kermit95
  93. : with settings such as
  94. :      set key \316 \Kansif02  ; F2
  95. : but there doesn't seem to be the verb Kansif02 under DOS
  96. : Kermit.  Can anyone suggest a way to get the function keys
  97. : working (with Clipper) under DOS Kermit?
  98.  
  99. MS-DOS kermit does not have the same level of built-in keymap
  100. support that K95 does.  You will have to create your own keymap
  101. file for MS-DOS Kermit that assigns the escape sequences sent 
  102. by the ANSIFxx kverbs in kermit 95.  
  103.  
  104. However, I would be very surprised if the ANSIFxx kverbs did 
  105. anything in Kermit 95 when you are using the Linux terminal 
  106. type.  The Linux terminal type uses the DEC VT function keys
  107. and not the ANSIFxx keys.  Therefore, ANSIFxx kverbs are disabled 
  108. during Linux emulation and the DECxx kverbs are disabled during
  109. general ANSI X3.64 based emulations such as AT386 and SCOANSI.
  110.  
  111. This confirms me thought that perhaps a different terminal
  112. type is being negotiated by the linux box via telnet.
  113.  
  114. : I still have some minor problems, such as the cursor flashing
  115. : in the upper left corner when Clipper thinks it has turned
  116. : the cursor off, and perhaps some graphic characters such as
  117. : diamond and downarrow not displaying just right.  I'd like
  118. : to cure these also, but could live with them.
  119.  
  120. is this refering to MS-DOS Kermit or Kermit 95?  
  121.  
  122.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  123.                  The Kermit Project * Columbia University
  124.               612 West 115th St #716 * New York, NY * 10025
  125.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org